package edu.rjxy.xjdx.emps.service;

import edu.rjxy.xjdx.emps.common.domain.User;

public interface UserService {
    //1 OK  -1 用户名不存在   0 密码错误
    int login(String loginName,String password);

    User findUserByLoginname(String loginName);

    void updatePasswordByLoginname(String newpassword, String loginName);
}
